<div id="resizable" class="ui-widget-content">
<h3 class="ui-widget-header">修改待手术病人信息</h3>

<% form_for(@surger_patient) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :surger_pat_code %><br />
    <%= f.text_field :surger_pat_code %>
  </p>
  <p>
    <%= f.label :surger_pat_name %><br />
    <%= f.text_field :surger_pat_name %>
  </p>
  <p>
    <%= f.label :surger_pat_sex %><br />
    <%= f.text_field :surger_pat_sex %>
  </p>
  <p>
    <%= f.label :surger_pat_age %><br />
    <%= f.text_field :surger_pat_age %>
  </p>
  <p>
    <%= f.label :surger_pat_room %><br />
    <%= f.text_field :surger_pat_room %>
  </p>
  <p>
    <%= f.label :surger_pat_bed %><br />
    <%= f.text_field :surger_pat_bed %>
  </p>
  <p>
    <%= f.label :surger_pat_comp %><br />
    <%= f.text_field :surger_pat_comp %>
  </p>
  <p>
    <%= f.label :surger_pat_digs %><br />
    <%= f.text_field :surger_pat_digs %>
  </p>
  <p>
    <%= f.label :surger_pat_icds %><br />
    <%= f.text_field :surger_pat_icds %>
  </p>
  <p>
    <%= f.label :surger_pat_boold_id %><br />
    <%= f.text_field :surger_pat_boold_id %>
  </p>
  <p>
    <%= f.label :surger_pat_booldmax %><br />
    <%= f.text_field :surger_pat_booldmax %>
  </p>

  <p>
    <%= f.label :surger_pat_date %><br />
    <%= f.text_field :surger_pat_date %>
  </p>
  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', @surger_patient %> |
<%= link_to 'Back', surger_patients_path %>
</div>
